package com.rui1024.dao;

import com.rui1024.pojo.Specialty;

import java.sql.Connection;
import java.util.List;

public interface SpecialtyDao {
    Specialty find(String name, Connection con) throws Exception;
    List< Specialty > findAll(Connection con) throws Exception;
}
